from django.conf.urls.defaults import patterns, include, url
from django.views.generic.simple import direct_to_template

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'rusmorph.views.home', name='home'),
    # url(r'^rusmorph/', include('rusmorph.foo.urls')),
    url(r'^$', direct_to_template, {'template': 'frontpage.html'}),
    url(r'^about/', direct_to_template, {'template':'about.html'}),
    url(r'^dbsupply/', include('dbsupply.urls')),
    url(r'^rmparser/', include('rmparser.urls')),
    url(r'^admin/', include(admin.site.urls)),
)
